package com.itcm.skymail.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itcm.common.utils.PageUtils;
import com.itcm.skymail.product.entity.SpuInfoEntity;
import com.itcm.skymail.product.vo.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author cm_fighting
 * @email cmtianxie@163.com
 * @date 2020-08-27 14:20:36
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInof(SpuSaveVo vo);

    PageUtils queryPageByCondition(Map<String, Object> params);

    void up(Long spuId);

    void updateSpuStatus(Long spuId, int code);
}

